
<!DOCTYPE HTML>
<html lang="zh-hans" >
    <head>
        <meta charset="UTF-8">
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <title>04-JS UI框架架构 · 千锋大前端小册-HarmonyOS</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="description" content="">
        <meta name="generator" content="GitBook 3.2.3">
        <meta name="author" content="古艺散人">
        
        
    
    <link rel="stylesheet" href="../../gitbook/style.css">

    
            
                
                <link rel="stylesheet" href="../../gitbook/gitbook-plugin-splitter/splitter.css">
                
            
                
                <link rel="stylesheet" href="../../gitbook/gitbook-plugin-expandable-chapters-small/expandable-chapters-small.css">
                
            
                
                <link rel="stylesheet" href="../../gitbook/gitbook-plugin-anchors/plugin.css">
                
            
                
                <link rel="stylesheet" href="../../gitbook/gitbook-plugin-anchor-navigation-ex/style/plugin.css">
                
            
                
                <link rel="stylesheet" href="../../gitbook/gitbook-plugin-insert-logo/plugin.css">
                
            
                
                <link rel="stylesheet" href="../../gitbook/gitbook-plugin-highlight/website.css">
                
            
                
                <link rel="stylesheet" href="../../gitbook/gitbook-plugin-search/search.css">
                
            
                
                <link rel="stylesheet" href="../../gitbook/gitbook-plugin-fontsettings/website.css">
                
            
        

    

    
        
    

        
    
    
    
    
    <meta name="HandheldFriendly" content="true"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="../../gitbook/images/apple-touch-icon-precomposed-152.png">
    <link rel="shortcut icon" href="../../gitbook/images/favicon.ico" type="image/x-icon">

    
    <link rel="next" href="01-认识华为鸿蒙.html" />
    
    
    <link rel="prev" href="03-两种开发方式.html" />
    

    
        <link rel="shortcut icon" href='../../source/images/favicon.jpg' type="image/x-icon">
    
    
        <link rel="bookmark" href='../../source/images/favicon.jpg' type="image/x-icon">
    
    
        <link rel="apple-touch-icon" href='../../source/images/apple-touch-icon.jpg'>
    
    
        
        <link rel="apple-touch-icon" sizes="120x120" href="../../source/images/apple-touch-icon.jpg">
        
        <link rel="apple-touch-icon" sizes="180x180" href="../../source/images/apple-touch-icon.jpg">
        
    

    <style>
    @media only screen and (max-width: 640px) {
        .book-header .hidden-mobile {
            display: none;
        }
    }
    </style>
    <script>
        window["gitbook-plugin-github-buttons"] = {"buttons":[{"user":"lurongtao","repo":"felixbooks-electron","type":"star","size":"small","count":true}]};
    </script>

    </head>
    <body>
        
<div class="book">
    <div class="book-summary">
        
            
<div id="book-search-input" role="search">
    <input type="text" placeholder="输入并搜索" />
</div>

            
                <nav role="navigation">
                


<ul class="summary">
    
    

    

    
        
        
    
        <li class="chapter " data-level="1.1" data-path="../../">
            
                <a href="../../">
            
                    
                    前言
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2" data-path="01-认识华为鸿蒙.html">
            
                <a href="01-认识华为鸿蒙.html">
            
                    
                    基础
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.2.1" data-path="01-认识华为鸿蒙.html">
            
                <a href="01-认识华为鸿蒙.html">
            
                    
                    认识鸿蒙
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.2.1.1" data-path="01-认识华为鸿蒙.html">
            
                <a href="01-认识华为鸿蒙.html">
            
                    
                    01-认识华为鸿蒙
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.1.2" data-path="02-鸿蒙系统定义.html">
            
                <a href="02-鸿蒙系统定义.html">
            
                    
                    02-鸿蒙系统定义
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.1.3" data-path="03-两种开发方式.html">
            
                <a href="03-两种开发方式.html">
            
                    
                    03-两种开发方式
            
                </a>
            

            
        </li>
    
        <li class="chapter active" data-level="1.2.1.4" data-path="04-JS框架架构.html">
            
                <a href="04-JS框架架构.html">
            
                    
                    04-JS UI框架架构
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.2.2" data-path="01-认识华为鸿蒙.html">
            
                <a href="01-认识华为鸿蒙.html">
            
                    
                    初探鸿蒙
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.2.2.1" data-path="../02-getting-started/01-hello-world.html">
            
                <a href="../02-getting-started/01-hello-world.html">
            
                    
                    01-Hello World案例
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

            </ul>
            
        </li>
    

    
        
        <li class="divider"></li>
        
        
    
        <li class="chapter " data-level="2.1" data-path="../../project/">
            
                <a href="../../project/">
            
                    
                    项目实战
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.1.1" data-path="../../project/01-环境搭建.html">
            
                <a href="../../project/01-环境搭建.html">
            
                    
                    01-环境搭建
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="2.2" data-path="../../thanks/">
            
                <a href="../../thanks/">
            
                    
                    感谢
            
                </a>
            

            
        </li>
    

    

    <li class="divider"></li>

    <li>
        <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
            本书使用 GitBook 发布
        </a>
    </li>
</ul>


                </nav>
            
        
    </div>

    <div class="book-body">
        
            <div class="body-inner">
                
                    

<div class="book-header" role="navigation">
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href="../.." >04-JS UI框架架构</a>
    </h1>
</div>




                    <div class="page-wrapper" tabindex="-1" role="main">
                        <div class="page-inner">
                            
<div id="book-search-results">
    <div class="search-noresults">
    
                                <section class="normal markdown-section">
                                
                                <div id="anchor-navigation-ex-navbar"><i class="fa fa-navicon"></i><ul><li><span class="title-icon "></span><a href="#harmonyos-&#x9E3F;&#x8499;&#x7CFB;&#x7EDF;js-ui&#x6846;&#x67B6;&#x6574;&#x4F53;&#x67B6;&#x6784;"><b></b>HarmonyOS &#x9E3F;&#x8499;&#x7CFB;&#x7EDF;JS UI&#x6846;&#x67B6;&#x6574;&#x4F53;&#x67B6;&#x6784;</a></li></ul></div><a href="#harmonyos-&#x9E3F;&#x8499;&#x7CFB;&#x7EDF;js-ui&#x6846;&#x67B6;&#x6574;&#x4F53;&#x67B6;&#x6784;" id="anchorNavigationExGoTop"><i class="fa fa-arrow-up"></i></a><h1 id="harmonyos-&#x9E3F;&#x8499;&#x7CFB;&#x7EDF;js-ui&#x6846;&#x67B6;&#x6574;&#x4F53;&#x67B6;&#x6784;"><a name="harmonyos-&#x9E3F;&#x8499;&#x7CFB;&#x7EDF;js-ui&#x6846;&#x67B6;&#x6574;&#x4F53;&#x67B6;&#x6784;" class="anchor-navigation-ex-anchor" href="#harmonyos-&#x9E3F;&#x8499;&#x7CFB;&#x7EDF;js-ui&#x6846;&#x67B6;&#x6574;&#x4F53;&#x67B6;&#x6784;"><i class="fa fa-link" aria-hidden="true"></i></a><a name="harmonyos-&#x9E3F;&#x8499;&#x7CFB;&#x7EDF;js-ui&#x6846;&#x67B6;&#x6574;&#x4F53;&#x67B6;&#x6784;" class="plugin-anchor" href="#harmonyos-&#x9E3F;&#x8499;&#x7CFB;&#x7EDF;js-ui&#x6846;&#x67B6;&#x6574;&#x4F53;&#x67B6;&#x6784;"><i class="fa fa-link" aria-hidden="true"></i></a>HarmonyOS &#x9E3F;&#x8499;&#x7CFB;&#x7EDF;JS UI&#x6846;&#x67B6;&#x6574;&#x4F53;&#x67B6;&#x6784;</h1>
<p>JS UI&#x6846;&#x67B6;&#x5305;&#x62EC;&#x5E94;&#x7528;&#x5C42;&#xFF08;Application&#xFF09;&#x3001;&#x524D;&#x7AEF;&#x6846;&#x67B6;&#x5C42;&#xFF08;Framework&#xFF09;&#x3001;&#x5F15;&#x64CE;&#x5C42;&#xFF08;Engine&#xFF09;&#x548C;&#x5E73;&#x53F0;&#x9002;&#x914D;&#x5C42;&#xFF08;Porting Layer&#xFF09;&#x3002;</p>
<p><img src="images/img-7.png"></p>
<ul>
<li>Application</li>
</ul>
<p>&#x5E94;&#x7528;&#x5C42;&#x8868;&#x793A;&#x5F00;&#x53D1;&#x8005;&#x4F7F;&#x7528;JS UI&#x6846;&#x67B6;&#x5F00;&#x53D1;&#x7684;FA&#x5E94;&#x7528;&#xFF0C;&#x8FD9;&#x91CC;&#x7684;FA&#x5E94;&#x7528;&#x7279;&#x6307;JS FA&#x5E94;&#x7528;&#x3002;&#x4F7F;&#x7528;Java&#x5F00;&#x53D1;FA&#x5E94;&#x7528;&#x8BF7;&#x53C2;&#x8003;Java UI&#x6846;&#x67B6;&#x3002;</p>
<ul>
<li>Framework</li>
</ul>
<p>&#x524D;&#x7AEF;&#x6846;&#x67B6;&#x5C42;&#x4E3B;&#x8981;&#x5B8C;&#x6210;&#x524D;&#x7AEF;&#x9875;&#x9762;&#x89E3;&#x6790;&#xFF0C;&#x4EE5;&#x53CA;&#x63D0;&#x4F9B;MVVM&#xFF08;Model-View-ViewModel&#xFF09;&#x5F00;&#x53D1;&#x6A21;&#x5F0F;&#x3001;&#x9875;&#x9762;&#x8DEF;&#x7531;&#x673A;&#x5236;&#x548C;&#x81EA;&#x5B9A;&#x4E49;&#x7EC4;&#x4EF6;&#x7B49;&#x80FD;&#x529B;&#x3002;</p>
<ul>
<li>Engine</li>
</ul>
<p>&#x5F15;&#x64CE;&#x5C42;&#x4E3B;&#x8981;&#x63D0;&#x4F9B;&#x52A8;&#x753B;&#x89E3;&#x6790;&#x3001;DOM&#xFF08;Document Object Model&#xFF09;&#x6811;&#x6784;&#x5EFA;&#x3001;&#x5E03;&#x5C40;&#x8BA1;&#x7B97;&#x3001;&#x6E32;&#x67D3;&#x547D;&#x4EE4;&#x6784;&#x5EFA;&#x4E0E;&#x7ED8;&#x5236;&#x3001;&#x4E8B;&#x4EF6;&#x7BA1;&#x7406;&#x7B49;&#x80FD;&#x529B;&#x3002;</p>
<ul>
<li>Porting Layer</li>
</ul>
<p>&#x9002;&#x914D;&#x5C42;&#x4E3B;&#x8981;&#x5B8C;&#x6210;&#x5BF9;&#x5E73;&#x53F0;&#x5C42;&#x8FDB;&#x884C;&#x62BD;&#x8C61;&#xFF0C;&#x63D0;&#x4F9B;&#x62BD;&#x8C61;&#x63A5;&#x53E3;&#xFF0C;&#x53EF;&#x4EE5;&#x5BF9;&#x63A5;&#x5230;&#x7CFB;&#x7EDF;&#x5E73;&#x53F0;&#x3002;&#x6BD4;&#x5982;&#xFF1A;&#x4E8B;&#x4EF6;&#x5BF9;&#x63A5;&#x3001;&#x6E32;&#x67D3;&#x7BA1;&#x7EBF;&#x5BF9;&#x63A5;&#x548C;&#x7CFB;&#x7EDF;&#x751F;&#x547D;&#x5468;&#x671F;&#x5BF9;&#x63A5;&#x7B49;&#x3002;</p>

                                
                                </section>
                            
    </div>
    <div class="search-results">
        <div class="has-results">
            
            <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
            <ul class="search-results-list"></ul>
            
        </div>
        <div class="no-results">
            
            <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
            
        </div>
    </div>
</div>

                        </div>
                    </div>
                
            </div>

            
                
                <a href="03-两种开发方式.html" class="navigation navigation-prev " aria-label="Previous page: 03-两种开发方式">
                    <i class="fa fa-angle-left"></i>
                </a>
                
                
                <a href="01-认识华为鸿蒙.html" class="navigation navigation-next " aria-label="Next page: 初探鸿蒙">
                    <i class="fa fa-angle-right"></i>
                </a>
                
            
        
    </div>

    <script>
        var gitbook = gitbook || [];
        gitbook.push(function() {
            gitbook.page.hasChanged({"page":{"title":"04-JS UI框架架构","level":"1.2.1.4","depth":3,"next":{"title":"初探鸿蒙","level":"1.2.2","depth":2,"path":"basics/01-preface/01-认识华为鸿蒙.md","ref":"./basics/01-preface/01-认识华为鸿蒙.md","articles":[{"title":"01-Hello World案例","level":"1.2.2.1","depth":3,"path":"basics/02-getting-started/01-hello-world.md","ref":"./basics/02-getting-started/01-hello-world.md","articles":[]}]},"previous":{"title":"03-两种开发方式","level":"1.2.1.3","depth":3,"path":"basics/01-preface/03-两种开发方式.md","ref":"./basics/01-preface/03-两种开发方式.md","articles":[]},"dir":"ltr"},"config":{"plugins":["-sharing","splitter","expandable-chapters-small","anchors","github","github-buttons","sharing-plus","anchor-navigation-ex","favicon","insert-logo","livereload"],"styles":{"website":"./styles/website.css"},"pluginsConfig":{"github":{"url":"https://gitee.com/lurongtao/harmonyos"},"livereload":{},"splitter":{},"search":{},"sharing-plus":{"qq":false,"all":["facebook","google","twitter","instapaper","linkedin","pocket","stumbleupon"],"douban":false,"facebook":true,"weibo":false,"instapaper":false,"whatsapp":false,"hatenaBookmark":false,"twitter":true,"messenger":false,"line":false,"vk":false,"pocket":true,"google":false,"viber":false,"stumbleupon":false,"qzone":false,"linkedin":false},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"highlight":{},"anchor-navigation-ex":{"associatedWithSummary":true,"float":{"floatIcon":"fa fa-navicon","level1Icon":"","level2Icon":"","level3Icon":"","showLevelIcon":false},"mode":"float","multipleH1":true,"pageTop":{"level1Icon":"","level2Icon":"","level3Icon":"","showLevelIcon":false},"printLog":false,"showGoTop":true,"showLevel":false},"favicon":{"shortcut":"./source/images/favicon.jpg","bookmark":"./source/images/favicon.jpg","appleTouch":"./source/images/apple-touch-icon.jpg","appleTouchMore":{"120x120":"./source/images/apple-touch-icon.jpg","180x180":"./source/images/apple-touch-icon.jpg"}},"github-buttons":{"buttons":[{"user":"lurongtao","repo":"felixbooks-electron","type":"star","size":"small","count":true}]},"expandable-chapters-small":{},"sharing":{"qq":false,"all":["google","facebook","weibo","twitter","qq","qzone","linkedin","pocket"],"douban":false,"facebook":false,"weibo":false,"instapaper":false,"whatsapp":false,"hatenaBookmark":false,"twitter":false,"messenger":false,"line":false,"vk":false,"pocket":false,"google":false,"viber":false,"stumbleupon":false,"qzone":false,"linkedin":false},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"anchors":{},"insert-logo":{"url":"/images/logo.png","style":"background: skyblue; width: 100%; height: 100%;"}},"theme":"default","author":"古艺散人","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"千锋大前端小册-HarmonyOS","language":"zh-hans","links":{},"gitbook":"3.2.3","description":"HarmonyOS 入门与实战"},"file":{"path":"basics/01-preface/04-JS框架架构.md","mtime":"2021-07-04T22:37:32.863Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2021-07-04T10:22:55.907Z"},"basePath":"../..","book":{"language":""}});
        });
    </script>
</div>

        
    <script src="../../gitbook/gitbook.js"></script>
    <script src="../../gitbook/theme.js"></script>
    
        
        <script src="../../gitbook/gitbook-plugin-splitter/splitter.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-expandable-chapters-small/expandable-chapters-small.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-github/plugin.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-github-buttons/plugin.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-sharing-plus/buttons.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-insert-logo/plugin.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-livereload/plugin.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-search/search-engine.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-search/search.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-lunr/lunr.min.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-lunr/search-lunr.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
        
    

    </body>
</html>

